package com.yc.bigdata.hadoop;

import com.yc.bigdata.hadoop.config.props.HadoopProperties;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


/**
 * <p>启动类</p>
 *
 * @author YuanChilde
 * @date 2019-05-07 13:12
 * @version 1.0
 * Modification History:
 * Date    Author      Version     Description
 * -----------------------------------------------------------------
 * 2019-05-07 13:12    YuanChilde     1.0        新增
 */
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableConfigurationProperties( {HadoopProperties.class})
@ComponentScan(basePackages = "com.yc.bigdata.hbase")
public class HadoopServerApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(HadoopServerApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {

    }
}
